<template>
	<view>
		<swiper class="swiper" circular :indicator-dots="true" :autoplay="autoplay" :interval="interval"
			:duration="duration">
			<swiper-item v-for="(item, index) in 3" :key="index">
				<view class="swiper-item uni-bg-red">A</view>
			</swiper-item>
		</swiper>
		<button @click="handleclick">btn</button>
		<uni-card title="标题文字" thumbnail="" extra="额外信息" note="Tips">
			内容主体，可自定义内容及样式
		</uni-card>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				autoplay: true,
				interval: 4000,
				duration: 500
			}
		},
		methods: {
			handleclick() {
				uni.navigateTo({
					url: "../detail/detail?id=1123"
				})
			}
		}
	}
</script>

<style scoped>
	.uni-margin-wrap {
		width: 690rpx;
		width: 100%;
	}
	.swiper {
		height: 300rpx;
	}
	.swiper-item {
		display: block;
		height: 300rpx;
		line-height: 300rpx;
		text-align: center;
	}
	.swiper-list {
		margin-top: 40rpx;
		margin-bottom: 0;
	}
	.uni-common-mt {
		margin-top: 60rpx;
		position: relative;
	}
	.info {
		position: absolute;
		right: 20rpx;
	}
	.uni-padding-wrap {
		width: 550rpx;
		padding: 0 100rpx;
	}
</style>
